package com.longsys.framework.server;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.AutoConfigurationPackage;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@AutoConfigurationPackage(basePackages = {"com.longsys.framework.server.config"})
@SpringBootApplication
public class EventSourcingServerApplication {

    @RequestMapping("/test")
    public String test() {
        return "ok";
    }

    public static void main(String[] args) {
        SpringApplication.run(EventSourcingServerApplication.class, args);
    }
}
